#define DB_INTEGER 1
#define DB_STRING 2
#define DB_CURRENCY 3

typedef long int db_integer;
typedef char     db_string[255];
typedef struct {
    int integral_part;
    unsigned char fractionary_part;
} db_currency;